package com.nsi.o2o.service;

import com.nsi.o2o.entity.HeadLine;
import com.nsi.o2o.exceptions.HeadLineOperationException;

import java.io.IOException;
import java.util.List;

/**
 * @author: Luo Zhen
 * @date: 2018/9/28 11:11
 * @description:
 */
public interface HeadLineService {

    /**
     * 根据传入条件返回指定的头条列表
     *
     * @param headLineCondition
     * @return
     * @throws IOException
     */
    List<HeadLine> getHeadLineList(HeadLine headLineCondition) throws HeadLineOperationException;
}
